|
|
our### [at] hotmailcom wrote:
: While a #while loop would do a good job of simulating such an array, I
: was hoping for a poly, cubic, quartic or quadric that would produce such
: a shape (an infinate 2D array of infinately long cylinders).
I don't think you can make any repeating pattern with a polynomial
equation. I may be wrong though...
Usually for repeating patterns you need some repeating function (like sine
or cosine). It may be possible with the superpatch.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|